package com.ruoyi.project.king.specification.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 产品规格对象 t_specification
 * 
 * @author ruoyi
 * @date 2020-05-19
 */
public class TSpecification extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规格编号 */
    private Long id;

    /** 规格 */
    @Excel(name = "规格")
    private String specification;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSpecification(String specification) 
    {
        this.specification = specification;
    }

    public String getSpecification() 
    {
        return specification;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("specification", getSpecification())
            .append("remark", getRemark())
            .toString();
    }
}
